﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;

namespace BaseSimpleAPI
{
    public interface INetRequest
    {
        /// <summary>
        /// 获取基础数据
        /// </summary>
        /// <returns></returns>
        byte[] GetBaseData();

        /// <summary>
        /// 获取数据头
        /// </summary>
        /// <returns></returns>
        Dictionary<string, string> GetHeader();

        /// <summary>
        /// 获取数据流
        /// </summary>
        /// <returns></returns>
        Stream GetBaseStream();

        /// <summary>
        /// 获取数据流
        /// </summary>
        /// <returns></returns>
        Stream GetDataStream();
    }
}
